home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19990725-20000114
/
000131_news@columbia.edu _Sat Oct 2 17:52:25 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2000-01-13
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA21927
for <kermit.misc@watsun.cc.columbia.edu>; Sat, 2 Oct 1999 17:52:25 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA16608
for kermit.misc@watsun.cc.columbia.edu; Sat, 2 Oct 1999 17:49:19 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
Date: Sat, 2 Oct 1999 11:48:20 -0700
From: <Use-Author-Address-Header@[127.1]>
Message-ID: <TCPSMTP.19.10.2.11.48.20.2375661496.5870477@kincyb.com>
Subject: C-kermit PPP dialing
Organization: mail2news@nym.alias.net
To: kermit.misc@columbia.edu
(Probably best to also email any followup to this to me direct,
as well as posting it, since I read c.p.k.m sporadicly lately.)
This may be old hat, but I haven't seen anything similar
in the docs spelled out explicitly, so here.......
There's some mention of using C-Kermit, with the redirect command, as
a PPP dialer in the doc files for recent versions, but below is the method
I've been using for a couple of months with Debian Linux 2.1.
The 'unused' parts of C-Kermit probably get swapped out to disk
while tied up with the redirect command, but this alternate method
works for me and this question can't come up.
I had this idea after looking at the docs on how to use
external file transfer protocols, and the variable \v(ttyfd).
Also, maybe this works because PPP is ignoring the lock files,
(maybe I don't understand them completely).
Anyway, here's the script:
# C-Kermit PPPd dialer script.
askq \%a {Password: }
mydial <ISP phone number here>
input 30 Login:
output <user-id here>\13
input 30 ssword:
output \%a\13
# redirect pppd
# quit
run nohup pppd <&\v(ttyfd) >&\v(ttyfd) &
pause 7
run ifconfig
# hangup # works OK if hangup here
Regards, Dallas E. Legan II / dallasii@kincyb.com / leganii@surfree.com